package com.wlsk.license.common.converter;

import com.wlsk.license.common.enums.CharterPlateStatusEnum;

/**
 * 包车牌状态枚举转换器
 */
public class CharterPlateStatusConverter extends BaseEnumConverter<Integer> {

    @Override
    protected String getDescByCode(Integer code) {
        if(code==null){
            return  "";
        }
        return CharterPlateStatusEnum.get(code).getDescription();
    }

    @Override
    public Class<Integer> supportJavaTypeKey() {
        return Integer.class;
    }
}